#@adminLayout()
#define main()
<div class="card">
    #@cardAddOrEdit("角色管理 / "+(model?"修改":"新增"),"sys/role")
</div>
#end
#define cardCol()
<input type="hidden" name="role.id" value="#(model.id??)">
<div class="col-sm-6">
    <div class="form-group">
        <lable>名称</lable>
        <input type="text" class="form-control" name="role.name" value="#(model.name??)"
               placeholder="请输入名称">
        <i class="form-group__bar"></i>
    </div>
</div>
#end